package com.xl98.service;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.xl98.entity.Treehole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
public interface TreeholeService extends IService<Treehole> {
    List<Treehole> findTreehole(Map<String,String> map);
    int insertArticleIdByupdate(Map<String,String> map);
    int addTreehole(Treehole treehole);
    int updateTreehole(Treehole treehole, UpdateWrapper<Treehole> wrapper);
    boolean delete(String id);
}
